using System;
using System.Linq.Expressions;
using FastMapper.Core;
using FastMapper.Helpers;

namespace FastMapper.Configuration
{
    public interface IPropertyMapConfigurator<TSource> : IPropertyMapConfigurator
    {
        void MapFrom<TMember>(Expression<Func<TSource, TMember>> sourceMember);
    }
    public interface IPropertyMapConfigurator
    {
        TypeInfo Parent { get; }
        MemberInfoNode SourcePropertyInfo { get; }
        MemberInfoNode DestinationPropertyInfo { get; }
        bool IsIgnored { get; }
        void Ignore();
    }
}